package demo2;

import javax.crypto.interfaces.PBEKey;

public class OuterClass {
    public int data1=1;
    private int data2=2;
    public static int data3=3;

    //实例内部类
    class InnerClass{
        public int data4=4;
        public static int data5=5;

        public void test(){
            System.out.println("inner::test()");
            System.out.println(data1);
            System.out.println(data2);
            System.out.println(data3);
            System.out.println(data4);
            System.out.println(data5);
        }
    }
}
